home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-08-07 | 1.2 KB | 57 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="7"
- "COUNT"="2"
- "UIPATH"="Hardware\Video Cards\Matrox\General"
- "NAME"="PowerDesk VSync"
- "VERSION"="1.06"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Enable VSync (better image quality)"
- "TEXT 2"="Disable VSync (better performance)"
- "DESCRIPTION 1"="Some settings for your Matrox G200 card (incl. Millennium and Mystique)."
- "DESCRIPTION 2"="NOTE: This plug-in requires that Matrox PowerDesk is installed."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to CptSiskoX!"
-
-
- sP1="HKLM\SOFTWARE\Matrox\PowerDesk\Current Settings\"
- sV1="HKLM\SOFTWARE\Matrox\PowerDesk\Current Settings\Flip on VBlank" 'STR
- Sub Plugin_Initialize
- if RegPathExists(sP1) then
- i=RegReadValue(sV1)
- if i="1" then
- SetUiElement 1,true
- else
- SetUiElement 2,true
- end if
-
- else
- Call Disable()
- end if
-
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1)=true then
- i=1
- else
- i=0
- end if
- Call RegWriteValue(sV1,i,1)
-
-
- Call Restart()
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-